package cn.hxzy.entity.order;

import java.math.BigDecimal;

import cn.hxzy.entity.carteam.VehicleInformation;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author hk
 * @since 2023-06-23
 */
@Data
  @EqualsAndHashCode(callSuper = false)
  @Accessors(chain = true)
@TableName("tt_waybill")
@ApiModel(value="Waybill对象", description="")
public class Waybill implements Serializable {

    private static final long serialVersionUID=1L;

      @ApiModelProperty(value = "运单编号")
        private String waybillId;

      @ApiModelProperty(value = "货源编号")
      private String sourceId;

      @ApiModelProperty(value = "提货编号")
      private String billOfLadingId;

      @ApiModelProperty(value = "装车磅单号")
      private String loadingScaleId;

      @ApiModelProperty(value = "车牌号")
      private String licensePlateNumber;

      @ApiModelProperty(value = "司机编号")
      private String driverId;

      @ApiModelProperty(value = "运单状态")
      private Integer waybillStatus;

    @ApiModelProperty(value = "运单状态值")
    @TableField(exist = false)
    private String waybillStatusValue;

    @ApiModelProperty(value = "签收状态")
    private Integer signingStatus;

      @ApiModelProperty(value = "支付状态")
      private Integer paymentStatus;

      @ApiModelProperty(value = "货物名称")
      private String nameOfGood;

      @ApiModelProperty(value = "亏吨信息")
      private BigDecimal lossTonInformation;

    @TableField(exist = false)
    private VehicleInformation vehicleInformation;

}
